﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using syh876.com.Areas.User.Code;

namespace syh876.com.Areas.User.Controllers
{
    public class MemberController : Controller
    {
        //用户中心
        #region 用户基本信息
        public ActionResult Index()
        {
            //SYH.User.Model.UserInfo model = SYH.User.BLL.UserInfo.GetModel(IdentityHelper.ClientUser.UserId);
            //return View(model);
            return View();
        }
        #endregion

        [HttpPost]
        //用户基本信息保存
        public ActionResult UserInfoSave(SYH.User.Model.UserSimplyInfo model)
        {
            //if (SYH.User.BLL.UserSimplyInfo.Update(model))
            //{
            //    return Content("1");
            //}
            //else
            //{
            //    return Content("0");
            //}
            return Content("0");
        }

        #region 用户邮箱验证
        public ActionResult BandEmail()
        {
            return View();
        }
        #endregion

        #region 用户手机验证
        public ActionResult BandPhone()
        {
            return View();
        }
        #endregion
    }
}
